package com.training.java.core.encapsulation;


public class Car2Demo {

	public static void main(String[] args) {
	
		Car2 kiaSport = new Car2();
		
		kiaSport.setColor("Blue");
		kiaSport.setvinNumber("K4567");
		kiaSport.maximumSpeed = 140;
		kiaSport.currentSpeed = 100;
		kiaSport.numberOfGears = 5;
		
		System.out.println("My maximum speed is = " + kiaSport.maximumSpeed);
	}

}
